package com.campus.backend.bean.coupon;

import com.campus.common.bean.common.PageQueryParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 优惠券查询参数
 *
 * @author System
 * @since 2025-01-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "优惠券查询参数")
public class CouponQueryParam extends PageQueryParam {

    @ApiModelProperty("优惠券名称")
    private String name;

    @ApiModelProperty("优惠券类型：1-满减券，2-折扣券")
    private Integer type;

    @ApiModelProperty("状态：1-正常，0-失效")
    private Integer status;

    @ApiModelProperty("发放类型：1-自动发放，2-手动领取")
    private Integer issueType;

    @ApiModelProperty("发放条件")
    private String issueCondition;

    @ApiModelProperty("开始时间（查询范围）")
    private String startTimeBegin;

    @ApiModelProperty("结束时间（查询范围）")
    private String startTimeEnd;
}